################
## replication files for Rink 2017 CPS 
## “Do Protestant Missionaries Undermine Political Authority? Evidence from Peru”
## Contact anselm.rink@gmail.com for questions / remarks

#### structure of replication material

################

#### data files:

## data.dta - contains all relevant data
## census.csv - contains uncleaned census data
## gps.csv — contains GPS coordinates of the research sites

################

#### R syntax files:

## Each figure and table has its own R code
## All files require change of working directory 

################

#### note1:  	05_Figure5.R requires RStan; see 
####	       	https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started

#### note2: 	R files require installation of packages
####        	listed in the syntax files 

#### note3: 	All R files were run under version 3.2.3. 